package model

import (
	"time"
)

type AuDealerBailLog struct {
	BlId           int       `xorm:"not null pk autoincr INT(10)"`
	DealerId       int       `xorm:"not null index INT(10)"`
	OrderId        int       `xorm:"not null index INT(10)"`
	UseTime        time.Time `xorm:"not null DATETIME"`
	UseType        int       `xorm:"not null index SMALLINT(3)"`
	UseDetail      string    `xorm:"not null TEXT"`
	OccurMoney     float64   `xorm:"not null DOUBLE(10,2)"`
	RemainAmount   float64   `xorm:"DOUBLE(10,2)"`
	RechargeMethod int       `xorm:"not null default 0 SMALLINT(3)"`
	RechargeNo     string    `xorm:"VARCHAR(64)"`
	Createtime     time.Time `xorm:"not null DATETIME"`
	FreeBlId       int       `xorm:"default 0 INT(11)"`
	IsFree         int       `xorm:"default 0 TINYINT(2)"`
	RechargeId     int       `xorm:"not null default 0 index INT(11)"`
	CollectionId   int       `xorm:"not null default 0 INT(11)"`
	PaymentId      int       `xorm:"not null default 0 INT(11)"`
}
